<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<LINK rel=stylesheet type=text/css href="../css/style.css">
<script type="text/javascript" src="../scripts/jquery-1.8.3.js"></script>
<script type="text/javascript">
	$(function() {
		
	});
</script>
<title>青鸟租房 -发布房屋信息</title>
</head>

<body>
	<DIV id=header class=wrap>
		<DIV id=logo>
			<IMG src="../images/logo.gif">
		</DIV>
	</DIV>
	<DIV id=regLogin class=wrap>
		<DIV class=dialog>
			<DL class=clearfix>
				<DT>新房屋信息发布</DT>
				<DD class=past>填写房屋信息</DD>
			</DL>
			<DIV class=box>
				<FORM id=add_action method=post action="saveORupdate.do">
					<input type="hidden" name="id" value="${sessionScope.house.h_id}"/>
					<DIV class=infos>
						<TABLE class=field>
							<TBODY>
								<TR>
									<TD class=field>标 题：</TD>
									<TD><INPUT id=add_action_title class=text type=text
										name=title value="${sessionScope.house.h_title}">
									</TD>
								</TR>
								<TR>
									<TD class=field>户 型：</TD>
									<TD><SELECT class=text name=tid>
										<option value="${sessionScope.house.t_id}">${sessionScope.house.t_name}</option>
										<c:forEach items="${sessionScope.typesList}" var="types">
											<option value="${types.id}">${types.name}</option>
										</c:forEach>
									</SELECT></TD>
								</TR>
								<TR>
									<TD class=field>面 积：</TD>
									<TD><INPUT id=add_action_floorage class=text type=text
										name=floorage value="${sessionScope.house.h_floorage}"></TD>
								</TR>
								<TR>
									<TD class=field>价 格：</TD>
									<TD><INPUT id=add_action_price class=text type=text
										name=price value="${sessionScope.house.h_price}">
									</TD>
								</TR>
								<TR>
									<TD class=field>房产证日期：</TD>
									<TD><INPUT class=text type=text name=pubdate value="${sessionScope.house.h_pubdate}"></TD>
								</TR>
								<TR>
									<TD class=field>位 置：</TD>
									<TD>区：<SELECT class=text name=district_id>
												<option value="${sessionScope.house.d_id}">${sessionScope.house.d_name}</option>
												<c:forEach items="${sessionScope.districtList}" var="district">
													<option value="${district.id}">${district.name}</option>
												</c:forEach>
									</SELECT> 街：<SELECT class=text name=sid>
												<option value="${sessionScope.house.s_id}">${sessionScope.house.s_name}</option>
												<c:forEach items="${sessionScope.streetList}" var="street">
													<option value="${street.id}">${street.name}</option>
												</c:forEach>
									</SELECT>
									</TD>
								</TR>
								<!-- 
						<tr>
							<td class="field">坐  标：</td>
							<td><input type="text" class="text" name="point" />
							</td>
						</tr>
						-->
								<!--  <tr>
							<td class="field">Y 坐  标：</td>
							<td><input type="text" class="text" name="point.y" /></td>
						</tr>-->
								<TR>
									<TD class=field>联系方式：</TD>
									<TD><INPUT id=add_action_contact class=text type=text
										name=contact value="${sessionScope.house.h_contact}">
									</TD>
								</TR>
								<TR>
									<TD class=field>详细信息：</TD>
									<TD><TEXTAREA name=description>${sessionScope.house.h_description}</TEXTAREA></TD>
								</TR>
							</TBODY>
						</TABLE>
						<DIV class=buttons>
							<INPUT value="${sessionScope.oprType}" type="submit" name="oprType" id=fabuValidation />
						</DIV>
					</DIV>
				</FORM>
			</DIV>
		</DIV>
	</DIV>
	<DIV id=footer class=wrap>
		<DL>
			<DT>青鸟租房 © 2010 北大青鸟 京ICP证1000001号</DT>
			<DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD>
		</DL>
	</DIV>


</body>
</HTML>

